package com.ykq.dao;

import com.ykq.entity.Staff;
import com.ykq.vo.StaffVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: keyboard
 * @description:
 * @author: 闫克起
 * @create: 2023-07-20 15:25
 **/
public interface StaffDao {

    /**
     * 传递多个参数时一定别忘记加@Param
     * @param username
     * @param password
     * @return
     */
    public Staff selectByUsernameAndPassword(@Param("username") String username,@Param("password") String password);

    /**
     *
     * @return
     */
    public List<Staff> select(StaffVo staffVo);
}











